<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/hotel/include/css.jsp"%><%-- /*包含css样式表*/ --%> 
 
<%
int pow=0;
 %>
<html>
<head>
<title>信息发布系统</title>
<script language="javaScript">
function selectType(){
     var type="0";
     var objs = document.getElementsByName("pubtype");
     if(objs.length>0){
        for(var i = 0;i<objs.length;i++){
              if(objs[i].checked)
                     type= objs[i].value;
        }
     }
     if(type=="0"||type=="1"||type=="2"){
         form1.action="<%=path%>/pubinfo.do?action=add&type="+type;
     }else{
         form1.action="<%=path%>/mult/controlAction.do?action=forward&infoType="+type;
     }
     form1.submit();
}
</script>
<head>
</head>
<body>
<form name="form1"   method="post" action=""> 
<center>
<table border="0" cellpadding="4" cellspacing="1" style="border-collapse: collapse; width:600" bordercolor="#111111" class="bg_table" width="80%"  align="center">
  <tr>
    <td class="top_td" colspan="4" align="center">选择发布类型</td>
  </tr>
    <tr class="td2">
    <td  colspan="4" align="center">发布类型：
    <input type="radio" name="pubtype" value=0 checked>固定模版
    <input type="radio" name="pubtype" value=1>PPT模式
    <input type="radio" name="pubtype" value=2>视频模式
    <input type="radio" name="pubtype" value=3>菜单模式
    <input type="radio" name="pubtype" value=4>音乐模式
    <input type="radio" name="pubtype" value=5>网站模式
                                          </td>
  </tr>
   
  <tr>
    <td class="top_td" colspan="4" align="center">
    <input type="button" value="提交" onclick="javaScript:selectType();">&nbsp;&nbsp;
    
    </td>
  </tr>
</table>
</center>
</form> 
</body>
</html>
<%@ include file="/hotel/pow.jsp"%>